Worksheet.Names property (Excel)

您所在的位置:网站首页 vba worksheetname Worksheet.Names property (Excel)

Worksheet.Names property (Excel)

2023-10-15 03:53| 来源: 网络整理| 查看: 265

Worksheet.Names property (Excel) Article 09/13/2021

Returns a Names collection that represents all the worksheet-specific names (names defined with the "WorksheetName!" prefix). Read-only Names object.

Syntax

expression.Names

expression A variable that represents a Worksheet object.

Remarks

Using this property without an object qualifier is equivalent to using ActiveWorkbook.Names.

Example

This example defines the name myName for cell A1 on Sheet1.

ActiveWorkbook.Names.Add Name:="myName", RefersToR1C1:= _ "=Sheet1!R1C1" Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3